<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>图片批量贴纸工具</title>
    <link rel="stylesheet" href="style.css">
    <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
</head>
<body>
    <div class="container">
        <!-- 左侧图片列表 -->
        <div class="left-panel">
            <div class="panel-header">
                <button id="upload-image" class="btn">上传图片</button>
                <button id="clear-images" class="btn btn-clear">清空图片</button>
                <input type="file" id="image-input" accept="image/*" multiple style="display: none;">
            </div>
            <div id="image-list" class="image-grid"></div>
        </div>

        <!-- 中间画布区域 -->
        <div class="middle-panel">
            <div class="canvas-header">
                <button id="complete-btn" class="btn btn-primary">下载当前图片</button>
            </div>
            <div class="canvas-container">
                <canvas id="editor-canvas"></canvas>
            </div>
        </div>

        <!-- 右侧贴纸列表 -->
        <div class="right-panel">
            <div class="panel-header">
                <button id="upload-sticker" class="btn">上传贴纸</button>
                <button id="clear-stickers" class="btn btn-clear">清空贴纸</button>
                <input type="file" id="sticker-input" accept="image/*" multiple style="display: none;">
            </div>
            <div id="sticker-list" class="image-grid"></div>
        </div>
    </div>

    <script src="script.js"></script>
</body>
</html>